﻿@using Tienda.Models
@model BuscarPersonaModel
@{
    ViewBag.Title = "BuscarCliente";
}

<div class="wrapper">
    <img src="~/img/post-divider.png" class="imageform" />
    <br />
    <br />
    <h2 class="home-block-heading"><span>Buscar Cliente</span></h2>
    <br />
    <br />
    @using (Html.BeginForm("BuscarCliente", "Cliente", FormMethod.Post))
    {
        @Html.DisplayNameFor(b => b.Rut)
        @Html.TextBoxFor(b => b.Rut)
        @Html.ValidationMessageFor(b => b.Rut)<br />
        //-----------------------------------------
        <button type="submit">Buscar</button>
        <br />
        <br />
    }
    @Html.Partial("_Modificar", ViewData["per"])
    <br />
    <br />
    <img src="~/img/post-divider-inverted.png" class="imageform" />
</div>